
export type SDKDataItemInfo = {
    version?: string,
    mgrName: string,
    className?: string
}

export type SDKChannelType = {
    name: string,
    sdk: string,
    event?: string,
    channel: string,
    hasRank?: boolean,
    ads: {
        reward?: SDKDataItemInfo,//激励视频

        banner?: SDKDataItemInfo,//banner

        insert?: SDKDataItemInfo,//插屏广告

        blockAd?: SDKDataItemInfo,//微信单格子广告，qq格子广告

        customAd?: SDKDataItemInfo,//原生渲染广告 微信有：多格子，矩阵格子，vivo所有原生模版

        appbox?: SDKDataItemInfo,//qq广告盒子，vivo盒子广告,有弹出，可以关闭

        boxBanner?: SDKDataItemInfo,//vivo 盒子banner 同样是盒子广告，只有一排

    },
    recorder?: string,
    login?: string,
    share?: string,
    system: string,
    fileSystem?: string,
    subPackage?: string,
    screenshot?: string,
}

export const SDKInfo: { [key: string]: SDKChannelType } = {
    dev: {
        channel: "NormalChannel",
        name: "dev",
        sdk: "",
        system: "DevSystem",
        event: "DevEvent",
        share: "DevShare",
        login: "DevLogin",
        ads: {
            reward: {
                mgrName: "DevRewardAdMgr",
            },
        },
        fileSystem: "DevFileSystem",
        subPackage: "DevSubPackage"
    },
    gdsdk: {
        channel: "GDChannel",
        name: "gdsdk",
        sdk: "gdsdk",
        system: "DevSystem",
        event: "DevEvent",
        login: "DevLogin",
        ads: {
            reward: {
                mgrName: "SingleAdMgr",
                className: "GDRewardAd"
            },
        },
        fileSystem: "DevFileSystem",
        subPackage: "DevSubPackage"
    },
    gmsdk: {
        channel: "GMChannel",
        name: "gmsdk",
        sdk: "gmsdk",
        system: "DevSystem",
        ads: {
            reward: {
                mgrName: "SingleAdMgr",
                className: "GMRewardAd"
            },
        }
    },
    wx: {
        channel: "NormalChannel",
        name: "wx",
        sdk: "wx",
        event: "UmaEvent",
        system: "WXSystem",
        share: "WXShare",
        fileSystem: "WXFileSystem",
        subPackage: "WXSubPackage",
        login: "WXLogin",
        hasRank: true,
        ads: {
            banner: {
                version: "2.0.4",
                mgrName: "ArrayAdMgr",
                className: "WXBannerAd"
            },
            reward: {
                version: "2.0.4",
                mgrName: "ArrayAdMgr",
                className: "WXRewardAd"
            },
            insert: {
                version: "2.6.0",
                mgrName: "ArrayAdMgr",
                className: "WXInsertAd"
            },
            blockAd: {
                version: "2.11.1",
                mgrName: "ArrayAdMgr",
                className: "WXCustomAd"
            },
            customAd: {
                version: "2.11.1",
                mgrName: "ArrayAdMgr",
                className: "WXCustomAd"
            }
        }
    },
    vivo: {
        channel: "NormalChannel",
        name: "vivo",
        sdk: "qg",
        event: "DevEvent",
        system: "VivoSystem",
        share: "DevShare",
        fileSystem: "VivoFileSystem",
        subPackage: "WXSubPackage",
        login: "DevLogin",
        ads: {
            banner: {
                version: "1031",
                mgrName: "ArrayAdMgr",
                className: "VivoBannerAd"
            },
            reward: {
                version: "1041",
                mgrName: "ArrayAdMgr",
                className: "VivoRewardAd"
            },
            insert: {
                version: "1031",
                mgrName: "ArrayAdMgr",
                className: "VivoInsertAd"
            },
            blockAd: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: ""
            },
            customAd: {
                version: "1091",
                mgrName: "ArrayAdMgr",
                className: "VivoCustomAd"
            },
            boxBanner: {
                version: '1092',
                mgrName: "ArrayAdMgr",
                className: "VivoBoxBannerAd"
            },
            appbox: {
                version: "1092",
                mgrName: "ArrayAdMgr",
                className: "VivoBoxPortalAd"
            }
        }
    },
    qq: {
        channel: "NormalChannel",
        name: "qq",
        sdk: "qq",
        event: "UmaEvent",
        system: "QQSystem",
        share: "QQShare",
        fileSystem: "DevFileSystem",
        subPackage: "WXSubPackage",
        login: "DevLogin",
        ads: {
            banner: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: "QQBannerAd"
            },
            reward: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: "QQRewardAd"
            },
            insert: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: "QQInsertAd"
            },
            blockAd: {
                version: "1.15.0",
                mgrName: "ArrayAdMgr",
                className: "QQBlockAd"
            },
            customAd: {
                version: "1.7.1",
                mgrName: "ArrayAdMgr",
                className: "QQAppBoxAd"
            }
        }
    },
    OPPO: {
        channel: "NormalChannel",
        name: "OPPO",
        sdk: "qg",
        event: "DevEvent",
        system: "OppoSystem",
        share: "DevShare",
        fileSystem: "OppoFileSystem",
        subPackage: "WXSubPackage",
        login: "DevLogin",
        ads: {
            banner: {
                version: "1051",
                mgrName: "ArrayAdMgr",
                className: "OppoBannerAd"
            },
            reward: {
                version: "1051",
                mgrName: "ArrayAdMgr",
                className: "OppoRewardAd"
            },
            insert: {
                version: "1076",
                mgrName: "ArrayAdMgr",
                className: "OppoInsertAd"
            },
            blockAd: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: ""
            },
            customAd: {
                version: "1076",
                mgrName: "ArrayAdMgr",
                className: ""
            }
        }
    },
    tt: {
        channel: "NormalChannel",
        name: "tt",
        sdk: "tt",
        event: "DevEvent",
        system: "TTSystem",
        share: "TTShare",
        fileSystem: "",
        subPackage: "WXSubPackage",
        login: "TTLogin",
        recorder: "TTRecorder",
        ads: {
            banner: {
                version: "1031",
                mgrName: "ArrayAdMgr",
                className: "TTBannerAd"
            },
            reward: {
                version: "1041",
                mgrName: "ArrayAdMgr",
                className: "TTRewardAd"
            },
            insert: {
                version: "1031",
                mgrName: "ArrayAdMgr",
                className: "TTInsertAd"
            },
            blockAd: {
                version: "",
                mgrName: "ArrayAdMgr",
                className: ""
            },
            customAd: {
                version: "1091",
                mgrName: "ArrayAdMgr",
                className: ""
            }
        }
    }
    // swan: {
    //     name: "swan",
    //     sdk: "swan",
    //     ads: {

    //     }
    // },

    // Adsdk: {
    //     name: "Adsdk",
    //     sdk: "Adsdk",
    //     ads: {}
    // },
    // csj: {
    //     name: "csj",
    //     sdk: "Native",
    //     ads: {}

    // },
    // google: {
    //     name: "google",
    //     sdk: "Native",
    //     ads: {}
    // },
    // h5api: {
    //     name: "h5api",
    //     sdk: "h5api",

    //     ads: {}
    // },
    // kwai: {
    //     name: "kwai",
    //     sdk: "Native",
    //     ads: {}
    // },
    // vigoo: {
    //     name: "vigoo",
    //     sdk: "vigoo",
    //     ads: {}
    // },

    // mimo: {
    //     name: "mimo",
    //     sdk: "Native",
    //     ads: {}
    // },
    // ks: {
    //     "name": "ks",
    //     "sdk": "ks",
    //     ads: {}
    // }

}
